<?php
/*
	Template Name: Contact Page
*/
?>
<?php get_header(); ?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<?php include (TEMPLATEPATH . '/framework/includes/get_pages_top.php'); ?>

<div class="page_container_bg">
	<div class="page_container_right">
		<div class="page_left_content">
		
			<?php if (get_option('disable_contact_address', 1) == '1'): ?>
			<div class="page_left_warp">
				<h3><?php echo get_option("our_address_title", "Meet Our Company"); ?></h3>
				<p>
					<?php $address_text = '28. Freelancer City:Ankara / Country:TURKEY'; ?>
					<?php echo get_option('address_text', $address_text); ?>
				</p>
			</div>
			<?php endif; ?>
			
			<?php if (get_option('disable_contact_call', 1) == '1'): ?>
			<div class="page_left_warp">
				<h3><?php echo get_option("our_address_call", "Call us via Phone"); ?></h3>
				<p>
					<?php $call_text = 'Tel. +90 (312) 441 23 4* <br />Fax. +90 (312) 441 23 4*'; ?>
					<?php echo get_option('call_text', $call_text); ?>
				</p>
			</div>
			<?php endif; ?>
			
			
			<?php if (get_option('disable_contact_emails', 1) == '1'): ?>
			<div class="page_left_warp">
				<h3><?php echo get_option("our_emails", "Emails"); ?></h3>
				<p>
					<?php $email_text = 'General: info@codestarlive.com<br />Support: support@codestarlive.com<br />Shopping: shopping@codestarlive.com'; ?>
					<?php echo get_option('email_text', $email_text); ?>
				</p>
			</div>
			<?php endif; ?>
			
			<?php if (get_option('disable_contact_text', 1) == '1'): ?>
			<div class="page_left_warp">
				<h3><?php echo get_option("miscell", "Miscellaneous"); ?></h3>
				<?php $contact_text = 'Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <br /><br />Excepteur sint occaecat cupidatat non proident, sunt in anim id est laborum! Allamco laboris nisi ut aliquip ex ea commodo consequat! Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.'; ?>
				<?php echo get_option('contact_text', $contact_text); ?>
			</div>
			<?php endif; ?>
			
		</div>
		
		<div class="page_content_right">
			<div class="page_content_text_right">
				
				<?php if (get_option('disable_google_map', 1) == '1'): ?>

				<div class="contact_map">
				
					<h3><?php echo get_option("google_title", "Google Map"); ?></h3>
					<p>
						<?php $google_text = 'In addition to online resources like the forums and mailing lists a great way to get ailing lists a great way to get involved withIn addition to online resources like the forums and mailing lists a great way to get ailing listsIn addition to online resources like the forums and mailing lists a great way to get ailing lists'; ?>
						<?php echo get_option('google_text', $google_text); ?>
					</p>
				</div>
				
				<div class="contact_gmap">
					
					
					
					<div class="image_skin">
						
							<!-- begin image inside border -->
							<div class="image_inside_border">
								
								<!-- begin image -->
								<div class="image_skin_anime">
									
									<div class="contact_map_text">
										<?php $google_iframe_key = '<iframe width="350" height="250" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=tr&amp;geocode=&amp;q=ankara&amp;ie=UTF8&amp;hq=&amp;hnear=Ankara,+T%C3%BCrkiye&amp;z=15&amp;ll=39.943873,32.856034&amp;output=embed"></iframe>'; ?>
										<?php echo get_option('google_iframe_key', $google_iframe_key); ?>									
									</div>
								</div>
								<!-- end image -->
									
							</div>
							<!-- begin image inside border -->
							
						</div>
						<!-- end image skin -->
					
					
				</div>
				<div class="cleardiv clearfix" style="margin-bottom:30px;"></div>
				<?php endif; ?>
				
				
				
				<div class="contact_form">
				
					<h3><?php _e('Send us mail', 'overall') ?></h3>

					<form method="post" id="commentform" action="">

						<div class="form-input form_warp">
							<p><?php _e('Name', 'overall') ?></p>
							<input id="name" name="name" type="text" />
						</div>
								
						<div class="form-input form_warp">
							<p><?php _e('E-Mail', 'overall') ?></p>
							<input id="email" name="email" type="text" />
						</div>
								
						<div class="form-input form_warp">
							<p><?php _e('Subject', 'overall') ?></p>
							<input id="subject" name="subject" type="text" />
						</div>
								
							
						<div class="form-textarea form_warp">
							<p><?php _e('Message', 'overall') ?></p>
							<span><textarea id="message" name="message" cols="" rows=""></textarea></span>
						</div>
						
						<div class="span_button_big">
							<input class="button_big" id="submit" name="submit" type="submit" value="<?php _e('Send Message', 'overall') ?>" tabindex="7" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
						</div>
					
				
					</form>
				</div>	
					<div id="list"></div>			
			
			</div>

		</div>
	

	</div>
</div>


<?php endwhile; endif;  ?>

<?php get_footer(); ?>
